package com.zhufeng.jvm.classloader;

public class MyTest11 {

	public static void main(String[] args) throws ClassNotFoundException {
		
		ClassLoader classLoader = ClassLoader.getSystemClassLoader();
		Class<?> clazz = classLoader.loadClass("com.zhufeng.jvm.classloader.CL");
		
		System.out.println("-------------");
		
		clazz = Class.forName("com.zhufeng.jvm.classloader.CL");
		
		System.out.println(clazz);
	}

}

class CL {
	static {
		System.out.println("CL static block");
	}
}